package homework.homework_5.logistics;

/**
 * @author 朱
 * @date 2019032610:03
 */
public abstract class Car {
    public String number;//编号//
    public String type;//类型//
    public String driver;//司机//
    public Car(){

    }

    public Car(String number, String type, String driver) {
        this.number = number;
        this.type = type;
        this.driver = driver;
    }
    public abstract void transport();
    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }
}
